package com.example.springbootwxminiappintegrat.bean;

import lombok.Data;

/**
 * @author qurenneng
 */
@Data
public class WeChatDecryptNotifyContent {

    /**
     * 微信支付订单号，存到payment表的serial_number
     */
    private String transaction_id;
    /**
     * paymentId
     */
    private String out_trade_no;
    /**
     * 支付完成时间，例如：2018-06-08T10:34:56+08:00
     */
    private String success_time;
    /**
     * 订单金额
     */
    private Amount amount;

    @Data
    public static class Amount {

        private int total;
        private int payer_total;
        private String currency;
        private String payer_currency;
    }
}